package com.ruoyi.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author xudm
 * @description 微信公众平台配置类
 * @date 2024-09-27  14:54
 */
@ConfigurationProperties(prefix = "wechat.mp")
@Component
@Data
public class WeChatMpConfig {

    // 微信公众号的AppID
    private String appId;

    // 微信公众号的AppSecret
    private String appSecret;

    // 微信公众号的Token
    private String token;

    // 微信公众号的EncodingAESKey
    private String encodingAesKey;

}
